## to run this script as part of the rails project 
## type the following into a rails shell
##


#####################################################
##  When running stand alone with the rails env
## uncomment this
#####################################################
## script/runner script/import/project.rb
#require "Pathname"
#require "rexml/document"
#require "Logger"

#logger = Logger.new(STDOUT)
#logger.level = Logger::INFO

#  SITE_HOME_DIRECTORY = 'C:\home\parussel\dev\education\thesis\sites'
#  OWNER_SUB_DIRECTORY = 'output/owner_lists'
  
########################################################




  SITE_HOME_DIRECTORY = '/Users/parussel/Documents/projects/thesis/sites_to_import'
  puts 'SITE_HOME_DIRECTORY = ' + SITE_HOME_DIRECTORY

  magic_importer = ThesisImporter.new
  
  
  magic_importer.load_project_data(  SITE_HOME_DIRECTORY )
  
  
 
